import com.google.appengine.api.datastore.*
import static com.google.appengine.api.datastore.FetchOptions.Builder.*

if(params['id']){
	
	def query = new Query("user")
	query.addFilter("name",Query.FilterOperator.EQUAL,params.id)
	PreparedQuery pq = datastore.prepare(query)
	
	def user = pq.asList(withLimit(10))

	request.setAttribute 'user', user
	
	forward "datetime.gtpl"
}